﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Dog dog = new Dog();

            People people = new People();

            dog.Eat();
            dog.Sleep();


            people.Eat();


            people.Sleep();




            Animals a1 = new Dog();

            Animals a2 = new People();

            a1.Eat();
            a2.Eat();


        }
    }
}
